/**
 * 
 */
package com.zznode.client.wlanpolling;

import java.util.HashMap;
import java.util.Map;

import com.zznode.client.wlanpolling.model.SystemSetting;
import com.zznode.client.wlanpolling.service.Wifi;
import com.zznode.client.wlanpolling.service.WifiGroup;

/**
 * @author Bean WLAN Polling 上下文信息
 */
public class WLanContext {
	
	private String username;
	private String password;
	
	/**
	 * 扫描的AP列表，Key为SSID, Value为SSID下的AP列表
	 */
	private Map<String, WifiGroup> apGroupList = new HashMap<String, WifiGroup>();
	
	/**
	 * 当前使用的信息
	 */
	private Wifi currentWifi;
	
	/*
	 * 0 - 未登陆 1 － 已经登陆
	 */
	private int status;
	
	private SystemSetting systemSetting;
	
	private String areaId;
	private String cityCode;
	private String uid;
	
	/**
	 * 网关系统中的AP经纬度
	 */
	private String apLatitude;
	private String apLongtitude;
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Wifi getCurrentWifi() {
		return currentWifi;
	}

	public void setCurrentWifi(Wifi currentWifi) {
		this.currentWifi = currentWifi;
	}

	public Map<String, WifiGroup> getApGroupList() {
		return apGroupList;
	}

	public SystemSetting getSystemSetting() {
		return systemSetting;
	}

	public void setSystemSetting(SystemSetting systemSetting) {
		this.systemSetting = systemSetting;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getApLatitude() {
		return apLatitude;
	}

	public void setApLatitude(String apLatitude) {
		this.apLatitude = apLatitude;
	}

	public String getApLongtitude() {
		return apLongtitude;
	}

	public void setApLongtitude(String apLongtitude) {
		this.apLongtitude = apLongtitude;
	}
}
